AddPrefabPostInit('starry', function(inst)
    if not TheWorld.ismastersim then
        return inst
    end

    inst:AddComponent("starry_badge")

    inst:ListenForEvent('onhitother',
    ---comment
    ---@param this ent
    ---@param data event_data_onhitother
    function(this, data)
        local damage = data and data.damageresolved or 0
        if damage > 0 then
            if inst.components.starry_badge then
                inst.components.starry_badge:DoDelta(10)
            end
        end
    end)
end)
